package com.zyong.design.pattern.strategy.case1;

/**
 * @program: zyong-design-pattern
 * @ClassName: Client
 * @author: zyong
 * @create: 2024-04-14 00:20
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context(new ConcreteStrategyA());
        context.operate();

        context.setStrategy(new ConcreteStrategyB());
        context.operate();
    }
}
